package com.cy.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(value = "sca-provider",contextId="consumerHttpAPI")
public interface ConsumerHttpAPI {
    @RequestMapping("/provider/echo/{msg}")
    String doEcho(@PathVariable("msg") String msg);
}
